home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Applications / TestDraw#1 / Suggested Changes next >
Text File  |  1998-06-08  |  3KB  |  41 lines

  1. Subject:     Re: Real Basic
  2. Date:        6/7/98 11:27 AM
  3. To:          Lundstrom Design, ludesign@algonet.se
  4.  
  5. On 7/25/18 12:00 AM, Lundstrom Design said:
  6.  
  7. >Is it possible to create regions? This is very useful for selecting
  8. >polyline objects and for filling such regions with a color or fill pattern.
  9. >It seems as you only support ovals, rects and lines.
  10.  
  11. Check out the Graphics class. We recently added support for polygons.
  12.  
  13. >Do you support the toolbox drawing modes? My example uses different drawing
  14. >colors for generating the rubber band objects while drawing, but I think it
  15. >would be better if you could do it in the Toolbox way (cleaner anyway).
  16.  
  17. Unfortunately we don't. Please submit a feature request to bugs@realsoftware.com.
  18.  
  19. >Is there a way to set the default location of a window on the screen. In
  20. >the drawing project it's a bit annoying that the tool palette covers the
  21. >drawing surface.
  22.  
  23. Where ever you position the window in the Design environment will be it's default position in the Runtime environment. Also, in the Open event handler of the window you could change the Left and Top properties of the Window to move it.
  24.  
  25. Suggestions for your drawing program (which looks good by the way):
  26.  
  27. 1. Support multiple windows
  28. 2. Allow the user to save to pict and open pict and bitmap files.
  29. 3. Add printing support.
  30. 4. Add the ability for the user to choose a foreground and background color
  31. 5. Add support for text
  32. 6. Add support for solid objects (filled in ovals and rectangles)
  33. 7. Add support for different line widths
  34. 8. Put the X and Y coordinates in the Toolbar
  35. 9. Remove the Quit button (since you have a Quit menu item)
  36. 10. Add an About Box with the name of the program, your name and email address.
  37. 11. Add support for setting the drawing size (Canvas objects have a scroll property now so you can put in a vertical scrollbar).
  38. 12. You are currently drawing into the window itself but it would work better with a canvas. You should also store a copy of the drawing in a property of the window. That way you can let the user drag to draw as you do now and once they have, you can draw the oval,line, rectangle, into the copy and then redraw the copy into the Canvas control. This will prevent objects in the drawing from getting erased as the user drags over them.
  39. 13. Consider whether this will be for creating bitmaps or vector-based graphics. For vector-based, you would need to keep an array of the objects the user is drawing so you could let the user select one by clicking on it and for printing.
  40.  
  41. I would really like to include your example on the CD. What do you think about my suggestions?